﻿<!doctype html>
<html>
	<head>
		<title>自动获取天气插件</title>
		<meta charset="utf-8">
		<script src="http://www.jq22.com/jquery/1.8.3/jquery.min.js"></script>
		<script src="jquery.leoweather.all.js"></script>
	</head>
	
	<body>




		<div class="welcome-info">	
			<span id="weather0"></span>
		</div>
		<script type="text/javascript">

			
	//	插件说明
	//	时间：	{时段}{年}{月}{日}{时}{分}{秒}{周}
	//	天气： {城市}{天气}{气温}{风向}{风级}{图标}{最高气温}{最低气温}{}{}{}{}{}{}{}
	//	图标：	自己去选取样式网址，https://www.tianqiapi.com/diy.php?style=ya
			

			
			$('#weather0').leoweather({appid:'86986721',appsecret:'eXm5G85Y',city:'武汉'});

		</script>
	</body>
</html>